package handler.task;

import handler.ClientStart;

/**
 * @author dfj@99chuxing.com
 * @date 2018/4/4 0004 16:26
 */
public class ClientConnectTask implements Runnable {


    private ClientStart clientStart;

    public ClientConnectTask(){}

    public ClientConnectTask(ClientStart clientStart) {
        this.clientStart = clientStart;
    }

    @Override
    public void run() {

        System.out.println();
        try {
            clientStart.connect();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }


    }
}
